package com.andy.note.boot.model.entity.doctor;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author andy
 * @since 2021-07-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("doctor_analyse")
public class DoctorAnalyse extends Model<DoctorAnalyse> {

private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;
    
    /**
     * 职称
     */
    @TableField("DOCTOR_TITLE")
    private String doctorTtitle;

    /**
     * 医生名
     */
    @TableField("DOCTOR_NAME")
    private String doctorName;

    /**
     * 出诊日期
     */
    @TableField("ON_DUTY_DATE")
    private Date onDutyDate;

    /**
     * 预约号
     */
    @TableField("BOOKING")
    private Integer booking;

    /**
     * 创建日期
     */
    @TableField("CREATE_DATE")
    private LocalDateTime createDate;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
